package com.winter.common.exception;

/**
 * Created by nana on 2017/5/29.
 */
public enum  BizCode implements BaseRespCode {


    SUCCESS("200", "操作成功");

    private String value;

    private String msg;

    BizCode(String value, String msg) {
        this.value = value;
        this.msg = msg;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    @Override
    public String toString() {
        return "BizCode{" +
                "value=" + value +
                ", msg='" + msg + '\'' +
                '}';
    }
}
